How a java thread can determine and get corresponding result of a specific I